package cn.com.db.dao;

import cn.com.db.model.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
@Mapper
public interface OrderItemDao {

    void createOrderItem(OrderItem item);

    void createOrderItems(@Param("items") List<OrderItem> items);

}
